package com.codefactory.generator.param;

public class WritePathConfFactory {

    public static WritePathConf createDefault(String targetPath) throws Exception {
        WritePathConf writePathConf = WritePathConf.builder()
                .controller(targetPath + "/controller/")
                .service(targetPath + "/service/")
                .serviceImpl(targetPath + "/serviceImpl/")
                .mapperJava(targetPath + "/dao/")
                .modelEntity(targetPath + "/model/")
                .voEntity(targetPath + "/vo/entity/")
                .voRequest(targetPath + "/vo/request/")
                .voResponse(targetPath + "/vo/response/")
                .mapperXml(targetPath + "resources_mapper/")
                .build();
        return writePathConf;
    }
}
